import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'dayjs/locale/zh-cn';
import zhCn from 'element-plus/es/locale/lang/zh-cn'
const customLocale = {
  ...zhCn,
  el: {
    ...zhCn.el,
    pagination: {
      ...zhCn.el.pagination,
      total: '共计 {total} 条记录',
      goto: '跳至',
      pagesize: '条/页',
      pageClassifier: '页'
    }
  }
}

createApp(App).use(store).use(router).use(ElementPlus,{ locale: customLocale}).mount('#app')
